package com.hehao.kurunner.ui;

import android.view.View;

import com.hehao.hehaolibrary.util.HHUtils;
import com.hehao.kurunner.R;
import com.hehao.kurunner.common.BaseActivity;

public class LoginActivity extends BaseActivity {
    @Override
    protected void initData() {
        setContentView(R.layout.activity_login);

        getViewWithClick(R.id.login_button_login);
        getViewWithClick(R.id.login_txt_register);
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void onViewClick(View v) {
        if(v.getId() == R.id.login_button_login)
            startActExit(MainActivity.class);
        else if(v.getId() == R.id.login_txt_register)
            startAct(RegisterActivity.class);
    }
}
